export const tableOption = {
  border: true,
  index: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 200,
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  searchMenuSpan: 6,
  page: false, // 禁用avue-crud内置分页
  column: [
    {
      label: '草稿ID',
      prop: 'draftId',
      width: 80,
      search: false
    },
    {
      label: '用户ID',
      prop: 'userId',
      width: 100,
      search: false
    },
    {
      label: '设计稿名称',
      prop: 'draftName',
      minWidth: 120,
      search: false,
      searchSpan: 6
    },
    {
      label: '用户名称',
      prop: 'userName',
      minWidth: 120,
      search: false
    },
    {
      label: '设计稿图片',
      prop: 'thumbnailUrl',
      minWidth: 120,
      type: 'upload',
      width: 150,
      listType: 'picture-img'
    },
    {
      label: '草稿状态',
      prop: 'draftStatus',
      width: 120,
      search: false,
      type: 'select',
      dicData: [
        { label: '草稿', value: 1 },
        { label: '设计稿', value: 2 },
      ],
      slot: true,
      searchSpan: 6
    },
    {
      label: '排单状态',
      prop: 'scheduleStatus',
      width: 120,
      search: false,
      type: 'select',
      dicData: [
        { label: '未排单', value: 0 },
        { label: '待确认排单', value: 1 },
        { label: '已确认排单', value: 2 },
        { label: '已生成订单', value: 3 }
      ],
      slot: true,
      searchSpan: 6
    },
    {
      label: '创建时间',
      prop: 'createTime',
      width: 160,
      search: false,
    },
    {
      label: '更新时间',
      prop: 'updateTime',
      width: 160,
      search: false,
    }
  ]
}